package cn.com.pushworld.examination.to.bean;


public class BeanTreeNodeBean {
	private int id = -1;
	private String name = null;
	private QuestionBean qbean = null;

	public BeanTreeNodeBean(int _id, String _name, QuestionBean _qbean) {
		this.id = _id;
		this.name = _name;
		this.qbean = _qbean;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public QuestionBean getQbean() {
		return qbean;
	}

	public void setQbean(QuestionBean qbean) {
		this.qbean = qbean;
	}

	@Override
	public String toString() {
		return getName();
	}
}
